net/http/internal.chunkedReader.excess (field)
6 uses
net/http/internal (current package)
chunked.go#L43: excess int64 // "excessive" chunk overhead, for malicious sender detection
chunked.go#L53: cr.excess += int64(len(line)) + 2 // header, plus \r\n after the chunk data
chunked.go#L78: cr.excess -= 16 + (2 * int64(cr.n))
chunked.go#L79: cr.excess = max(cr.excess, 0)
chunked.go#L80: if cr.excess > 16*1024 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |